﻿#pragma once

class ClientBase {
public:
	ClientBase();
	virtual ~ClientBase();
	// 开始并发送第一次消息
	virtual void Start(unsigned short port, const char* message) = 0;
	// 停止
	virtual void Stop() = 0;
	// 等待结束
	virtual void Wait() = 0;
	unsigned long long count() const {
		return count_;
	}

protected:
	unsigned long long count_;

};